
#include <libxml/encoding.h>
#include <libxml/xmlreader.h>
#include <libxml/xmlwriter.h>
#include "XMLInterface.h"

XMLInterface::XMLInterface()
{
   LIBXML_TEST_VERSION
#ifndef LIBXML_READER_ENABLED
   errprint("libxml2 does not have reading support");
#endif
#ifndef LIBXML_WRITER_ENABLED
   errprint("libxml2 does not have writing support");
#endif
   xmlInitParser();
   return;
}

XMLInterface::~XMLInterface()
{
   xmlCleanupParser();
}

